<?php
class DocumentoVenta extends AppModel {

    var $name = 'DocumentoVenta';    
    //The Associations below have been created with all possible keys, those that are not needed can be removed
    var $belongsTo = array(
        'CodigoDocumento' => array(
            'className' => 'CodigoDocumento',
            'foreignKey' => 'codigo_documento_id',
        ),
        'Alumno' => array(
            'className' => 'Alumno',
            'foreignKey' => 'alumno_id',
        ),
        'Familia' => array(
            'className' => 'Familia',
            'foreignKey' => 'familia_id',
        )
    );
}
?>